<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
</head>
<body>
<div th:fragment="tableBlock" class="widget-content">
    <div class="table-responsive">
        <table id="datatable" class="table table-striped data-table table-bordered" width="100%">
        <thead>
        <tr>
            <th class="table-head" >接口编号</th>
            <th class="table-head" >接口API</th>
            <th class="table-head" >接口中文名称</th>
            <th class="table-head" >调用类型</th>
            <th class="table-head" >系统编号</th>
            <th class="table-head" >系统的名称</th>
         <!--   <th class="table-head" >应用token</th> -->
            <th class="table-head" >请求时间</th>
            <th class="table-head" >状态</th>
             <th class="table-head">操作</th>
        </tr>
        </thead>

        <tbody>
        <tr  th:each="ifLog : ${formBean.list}">
            <td class="table-content" th:text="${ifLog.interfaceId}"></td>
            <td class="table-content" th:text="${ifLog.interfaceApi}"></td>
            <td class="table-content" th:text="${ifLog.interfaceName}"></td>
            <td class="table-content" th:text="${ifLog.interfaceType}"></td>
            <td class="table-content" th:text="${ifLog.appKey}"></td>
            <td class="table-content" th:text="${ifLog.appName}"></td>
          <!--  <td class="table-content" th:text="${ifLog.appToken}"></td>-->
            <td class="table-content" th:text="${ifLog.startDate}"></td>
            <td class="table-content" th:switch="${ifLog.status}" >
                <p th:case="1">失败</p>
                <p th:case="2" >异常</p>
                <p th:case="0" >成功</p>
            </td>
            <td>
                <div class="td-operate">
                    <a href="#" th:onclick="'javascript:editSubmitInfo(\'interfaceLogs\',\''+${ifLog.guid}+'\');'" class="td-info">查看详情</a>
                </div>
            </td>
        </tr>

        </tbody>

    </table>
    </div>
</div>

</body>
</html>